<%--
  Created by IntelliJ IDEA.
  User: John Cage
  Date: 2020/11/14
  Time: 9:28
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="../common/IncludeTop.jsp"%>

<div id="Catalog">
    <form action="changeAccountInfo" method="post">

    <h1>User Information</h1>

    <table>
        <tr>
            <th>User ID:</th>
            <td>${sessionScope.account.username}</td>
        </tr>
        <tr>
            <th>New password:</th>
            <td><input type="password" name="password" /></td>
        </tr>
        <tr>
            <th>Repeat password:</th>
            <td><input type="password" name="repeatedPassword" /></td>
        </tr>
        ${requestScope.msg}
    </table>
    <%@ include file="IncludeAccountFields.jsp"%>

    <input type="submit" name="editAccount" value="Save Account Information" />

    </form>
</div>

<%@ include file="../common/IncludeBottom.jsp"%>